package com.shui_shui.birthday;

public class Birthday {
	
	private static int hourOfDay;
	private static int minute;
	
	private static int year;
	private static int month;
	private static int day;
	
	private static int sex;
	
	private static Birthday birthday = null;
	
	public int getHourOfDay() {
		return hourOfDay;
	}

	public void setHourOfDay(int hourOfDay) {
		Birthday.hourOfDay = hourOfDay;
	}

	public int getMinute() {
		return minute;
	}

	public void setMinute(int minute) {
		Birthday.minute = minute;
	}

	public int getYear() {
		return year;
	}

	public void setYear(int year) {
		Birthday.year = year;
	}

	public int getMonth() {
		return month;
	}

	public void setMonth(int month) {
		Birthday.month = month;
	}

	public int getDay() {
		return day;
	}

	public void setDay(int day) {
		Birthday.day = day;
	}

	public static Birthday getBirthday() {
		if(birthday == null){
			birthday = new Birthday();
		}
		return birthday;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		Birthday.sex = sex;
	}

}
